<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>VectSharp: VectSharp.Markdown.TextFragment Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="Doxy.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="icon.svg"/></td>
  <td id="projectalign">
   <div id="projectname">VectSharp<span id="projectnumber">&#160;2.6.1</span>
   </div>
   <div id="projectbrief">A light library for C# vector graphics</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('class_vect_sharp_1_1_markdown_1_1_text_fragment.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_vect_sharp_1_1_markdown_1_1_text_fragment-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">VectSharp.Markdown.TextFragment Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>A fragment containing text.   
 <a href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for VectSharp.Markdown.TextFragment:</div>
<div class="dyncontent">
<div class="center"><img src="class_vect_sharp_1_1_markdown_1_1_text_fragment__inherit__graph.png" border="0" usemap="#a_vect_sharp_8_markdown_8_text_fragment_inherit__map" alt="Inheritance graph"/></div>
<map name="a_vect_sharp_8_markdown_8_text_fragment_inherit__map" id="a_vect_sharp_8_markdown_8_text_fragment_inherit__map">
<area shape="rect" title="A fragment containing text." alt="" coords="5,80,235,107"/>
<area shape="rect" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line." alt="" coords="70,5,170,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aef8ce822178b1a2938e1fa2cd8d4a90c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#aef8ce822178b1a2938e1fa2cd8d4a90c">TextFragment</a> (<a class="el" href="struct_vect_sharp_1_1_point.html">Point</a> position, string text, <a class="el" href="class_vect_sharp_1_1_font.html">Font</a> font, <a class="el" href="struct_vect_sharp_1_1_colour.html">Colour</a> colour, string tag)</td></tr>
<tr class="memdesc:aef8ce822178b1a2938e1fa2cd8d4a90c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html" title="A fragment containing text.">TextFragment</a>.   <a href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#aef8ce822178b1a2938e1fa2cd8d4a90c">More...</a><br /></td></tr>
<tr class="separator:aef8ce822178b1a2938e1fa2cd8d4a90c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d99db15c3236db87415b613795e9454"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#a8d99db15c3236db87415b613795e9454">Translate</a> (double deltaX, double deltaY)</td></tr>
<tr class="memdesc:a8d99db15c3236db87415b613795e9454"><td class="mdescLeft">&#160;</td><td class="mdescRight">Applies the specified translation to the line fragment. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">deltaX</td><td>The translation in the horizontal direction.</td></tr>
    <tr><td class="paramname">deltaY</td><td>The translation in the vertical direction.</td></tr>
  </table>
  </dd>
</dl>
  <a href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#a8d99db15c3236db87415b613795e9454">More...</a><br /></td></tr>
<tr class="separator:a8d99db15c3236db87415b613795e9454"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab51b95abdb7fefc6361e28b407393604"><td class="memItemLeft" align="right" valign="top">override double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#ab51b95abdb7fefc6361e28b407393604">GetAscent</a> (double lineAscent)</td></tr>
<tr class="memdesc:ab51b95abdb7fefc6361e28b407393604"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the ascent of the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line.">LineFragment</a>. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lineAscent</td><td>The ascent of the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line.html" title="Represents a text line.">Line</a> on which the fragment should be drawn.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The ascent of the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line.">LineFragment</a>.</dd></dl>
  <a href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#ab51b95abdb7fefc6361e28b407393604">More...</a><br /></td></tr>
<tr class="separator:ab51b95abdb7fefc6361e28b407393604"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2f645d73ed97d783819042bc2d46914"><td class="memItemLeft" align="right" valign="top">override double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#ac2f645d73ed97d783819042bc2d46914">GetMaxY</a> ()</td></tr>
<tr class="memdesc:ac2f645d73ed97d783819042bc2d46914"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the vertical coordinate of the bottom of the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line.">LineFragment</a>. <dl class="section return"><dt>Returns</dt><dd>The vertical coordinates of the bottom of the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line.">LineFragment</a>.</dd></dl>
  <a href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#ac2f645d73ed97d783819042bc2d46914">More...</a><br /></td></tr>
<tr class="separator:ac2f645d73ed97d783819042bc2d46914"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8731ef6d917f8ba69ba998e38efd8054"><td class="memItemLeft" align="right" valign="top">override double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#a8731ef6d917f8ba69ba998e38efd8054">GetMaxX</a> ()</td></tr>
<tr class="memdesc:a8731ef6d917f8ba69ba998e38efd8054"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the horizontal coordinate of the right side of the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line.">LineFragment</a>. <dl class="section return"><dt>Returns</dt><dd>The horizontal coordinate of the right side of the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line.">LineFragment</a>.</dd></dl>
  <a href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#a8731ef6d917f8ba69ba998e38efd8054">More...</a><br /></td></tr>
<tr class="separator:a8731ef6d917f8ba69ba998e38efd8054"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed778aa9fbc4d983dd00f508fa755c53"><td class="memItemLeft" align="right" valign="top">override? <a class="el" href="struct_vect_sharp_1_1_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#aed778aa9fbc4d983dd00f508fa755c53">Render</a> (<a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a> graphics, double deltaY)</td></tr>
<tr class="memdesc:aed778aa9fbc4d983dd00f508fa755c53"><td class="mdescLeft">&#160;</td><td class="mdescRight">Render the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line.">LineFragment</a> on the specified <em>graphics</em>  surface. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">graphics</td><td>The <a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a> surface on which the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line.">LineFragment</a> will be drawn.</td></tr>
    <tr><td class="paramname">deltaY</td><td>Additional translation on the vertical axis.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>If a text element has been drawn, this method should return the bottom-right corner of the drawn text element, otherwise <code>null</code>. This is used to update the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_markdown_context.html#a9ccb263bd6a082339b84f224d4a0ae5c" title="The coordinates of the bottom right corner of the last rendered text element.">MarkdownContext.BottomRight</a> property.</dd></dl>
  <a href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#aed778aa9fbc4d983dd00f508fa755c53">More...</a><br /></td></tr>
<tr class="separator:aed778aa9fbc4d983dd00f508fa755c53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af448b1db13df8456f4ff31f71f3cac54"><td class="memItemLeft" align="right" valign="top">abstract void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html#af448b1db13df8456f4ff31f71f3cac54">Translate</a> (double deltaX, double deltaY)</td></tr>
<tr class="memdesc:af448b1db13df8456f4ff31f71f3cac54"><td class="mdescLeft">&#160;</td><td class="mdescRight">Applies the specified translation to the line fragment.   <a href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html#af448b1db13df8456f4ff31f71f3cac54">More...</a><br /></td></tr>
<tr class="separator:af448b1db13df8456f4ff31f71f3cac54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c9f6d88dde8e5d3c7b4938638b43902"><td class="memItemLeft" align="right" valign="top">abstract double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html#a7c9f6d88dde8e5d3c7b4938638b43902">GetAscent</a> (double lineAscent)</td></tr>
<tr class="memdesc:a7c9f6d88dde8e5d3c7b4938638b43902"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the ascent of the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line.">LineFragment</a>.   <a href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html#a7c9f6d88dde8e5d3c7b4938638b43902">More...</a><br /></td></tr>
<tr class="separator:a7c9f6d88dde8e5d3c7b4938638b43902"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95fdffab65bc49e0f22911be2625e612"><td class="memItemLeft" align="right" valign="top">abstract double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html#a95fdffab65bc49e0f22911be2625e612">GetMaxY</a> ()</td></tr>
<tr class="memdesc:a95fdffab65bc49e0f22911be2625e612"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the vertical coordinate of the bottom of the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line.">LineFragment</a>.   <a href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html#a95fdffab65bc49e0f22911be2625e612">More...</a><br /></td></tr>
<tr class="separator:a95fdffab65bc49e0f22911be2625e612"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d6ca7164b0d69733e3ce1f5f7e78691"><td class="memItemLeft" align="right" valign="top">abstract double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html#a2d6ca7164b0d69733e3ce1f5f7e78691">GetMaxX</a> ()</td></tr>
<tr class="memdesc:a2d6ca7164b0d69733e3ce1f5f7e78691"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the horizontal coordinate of the right side of the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line.">LineFragment</a>.   <a href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html#a2d6ca7164b0d69733e3ce1f5f7e78691">More...</a><br /></td></tr>
<tr class="separator:a2d6ca7164b0d69733e3ce1f5f7e78691"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99e50709af781f12469d38151e7ca31e"><td class="memItemLeft" align="right" valign="top">abstract ? <a class="el" href="struct_vect_sharp_1_1_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html#a99e50709af781f12469d38151e7ca31e">Render</a> (<a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a> graphics, double deltaY)</td></tr>
<tr class="memdesc:a99e50709af781f12469d38151e7ca31e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Render the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line.">LineFragment</a> on the specified <em>graphics</em>  surface.   <a href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html#a99e50709af781f12469d38151e7ca31e">More...</a><br /></td></tr>
<tr class="separator:a99e50709af781f12469d38151e7ca31e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="properties" name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a362eff10f72b991de67ff8c47b9f8527"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#a362eff10f72b991de67ff8c47b9f8527">Text</a><code> [get]</code></td></tr>
<tr class="memdesc:a362eff10f72b991de67ff8c47b9f8527"><td class="mdescLeft">&#160;</td><td class="mdescRight">The text contained in the fragment.   <a href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#a362eff10f72b991de67ff8c47b9f8527">More...</a><br /></td></tr>
<tr class="separator:a362eff10f72b991de67ff8c47b9f8527"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5783729321cfba738f523a4ab5e13d7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vect_sharp_1_1_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#ad5783729321cfba738f523a4ab5e13d7">Position</a><code> [get]</code></td></tr>
<tr class="memdesc:ad5783729321cfba738f523a4ab5e13d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">The position of the text, relative to the cursor at the start of the line.   <a href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#ad5783729321cfba738f523a4ab5e13d7">More...</a><br /></td></tr>
<tr class="separator:ad5783729321cfba738f523a4ab5e13d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa77aa640d8fdcf8ccaaf0661432eb02d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vect_sharp_1_1_font.html">Font</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#aa77aa640d8fdcf8ccaaf0661432eb02d">Font</a><code> [get]</code></td></tr>
<tr class="memdesc:aa77aa640d8fdcf8ccaaf0661432eb02d"><td class="mdescLeft">&#160;</td><td class="mdescRight">The font used to draw the text.   <a href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#aa77aa640d8fdcf8ccaaf0661432eb02d">More...</a><br /></td></tr>
<tr class="separator:aa77aa640d8fdcf8ccaaf0661432eb02d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a4d9fafcb34874144dc838a489a13e7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vect_sharp_1_1_colour.html">Colour</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#a9a4d9fafcb34874144dc838a489a13e7">Colour</a><code> [get]</code></td></tr>
<tr class="memdesc:a9a4d9fafcb34874144dc838a489a13e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">The colour used to draw the text.   <a href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html#a9a4d9fafcb34874144dc838a489a13e7">More...</a><br /></td></tr>
<tr class="separator:a9a4d9fafcb34874144dc838a489a13e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header properties_class_vect_sharp_1_1_markdown_1_1_line_fragment"><td colspan="2" onclick="javascript:toggleInherit('properties_class_vect_sharp_1_1_markdown_1_1_line_fragment')"><img src="closed.png" alt="-"/>&#160;Properties inherited from <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html">VectSharp.Markdown.LineFragment</a></td></tr>
<tr class="memitem:aecf986bf81f250a321d88812f57ac38b inherit properties_class_vect_sharp_1_1_markdown_1_1_line_fragment"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html#aecf986bf81f250a321d88812f57ac38b">Tag</a><code> [get]</code></td></tr>
<tr class="memdesc:aecf986bf81f250a321d88812f57ac38b inherit properties_class_vect_sharp_1_1_markdown_1_1_line_fragment"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a> action tag for the fragment.   <a href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html#aecf986bf81f250a321d88812f57ac38b">More...</a><br /></td></tr>
<tr class="separator:aecf986bf81f250a321d88812f57ac38b inherit properties_class_vect_sharp_1_1_markdown_1_1_line_fragment"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >A fragment containing text.  </p>

<p class="definition">Definition at line <a class="el" href="_line_8cs_source.html#l00071">71</a> of file <a class="el" href="_line_8cs_source.html">Line.cs</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aef8ce822178b1a2938e1fa2cd8d4a90c" name="aef8ce822178b1a2938e1fa2cd8d4a90c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef8ce822178b1a2938e1fa2cd8d4a90c">&#9670;&#160;</a></span>TextFragment()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VectSharp.Markdown.TextFragment.TextFragment </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_vect_sharp_1_1_point.html">Point</a>&#160;</td>
          <td class="paramname"><em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_font.html">Font</a>&#160;</td>
          <td class="paramname"><em>font</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_vect_sharp_1_1_colour.html">Colour</a>&#160;</td>
          <td class="paramname"><em>colour</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>tag</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html" title="A fragment containing text.">TextFragment</a>.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">position</td><td>The position of the text.</td></tr>
    <tr><td class="paramname">text</td><td>The text contained in the fragment.</td></tr>
    <tr><td class="paramname">font</td><td>The font used to draw the text.</td></tr>
    <tr><td class="paramname">colour</td><td>The colour used to draw the text.</td></tr>
    <tr><td class="paramname">tag</td><td><a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a> action tag for the text.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_line_8cs_source.html#l00101">101</a> of file <a class="el" href="_line_8cs_source.html">Line.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ab51b95abdb7fefc6361e28b407393604" name="ab51b95abdb7fefc6361e28b407393604"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab51b95abdb7fefc6361e28b407393604">&#9670;&#160;</a></span>GetAscent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override double VectSharp.Markdown.TextFragment.GetAscent </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>lineAscent</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the ascent of the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line.">LineFragment</a>. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lineAscent</td><td>The ascent of the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line.html" title="Represents a text line.">Line</a> on which the fragment should be drawn.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The ascent of the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line.">LineFragment</a>.</dd></dl>
 </p>

<p>Implements <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html#a7c9f6d88dde8e5d3c7b4938638b43902">VectSharp.Markdown.LineFragment</a>.</p>

<p class="definition">Definition at line <a class="el" href="_line_8cs_source.html#l00117">117</a> of file <a class="el" href="_line_8cs_source.html">Line.cs</a>.</p>

</div>
</div>
<a id="a8731ef6d917f8ba69ba998e38efd8054" name="a8731ef6d917f8ba69ba998e38efd8054"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8731ef6d917f8ba69ba998e38efd8054">&#9670;&#160;</a></span>GetMaxX()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override double VectSharp.Markdown.TextFragment.GetMaxX </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the horizontal coordinate of the right side of the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line.">LineFragment</a>. <dl class="section return"><dt>Returns</dt><dd>The horizontal coordinate of the right side of the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line.">LineFragment</a>.</dd></dl>
 </p>

<p>Implements <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html#a2d6ca7164b0d69733e3ce1f5f7e78691">VectSharp.Markdown.LineFragment</a>.</p>

<p class="definition">Definition at line <a class="el" href="_line_8cs_source.html#l00129">129</a> of file <a class="el" href="_line_8cs_source.html">Line.cs</a>.</p>

</div>
</div>
<a id="ac2f645d73ed97d783819042bc2d46914" name="ac2f645d73ed97d783819042bc2d46914"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2f645d73ed97d783819042bc2d46914">&#9670;&#160;</a></span>GetMaxY()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override double VectSharp.Markdown.TextFragment.GetMaxY </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the vertical coordinate of the bottom of the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line.">LineFragment</a>. <dl class="section return"><dt>Returns</dt><dd>The vertical coordinates of the bottom of the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line.">LineFragment</a>.</dd></dl>
 </p>

<p>Implements <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html#a95fdffab65bc49e0f22911be2625e612">VectSharp.Markdown.LineFragment</a>.</p>

<p class="definition">Definition at line <a class="el" href="_line_8cs_source.html#l00123">123</a> of file <a class="el" href="_line_8cs_source.html">Line.cs</a>.</p>

</div>
</div>
<a id="aed778aa9fbc4d983dd00f508fa755c53" name="aed778aa9fbc4d983dd00f508fa755c53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed778aa9fbc4d983dd00f508fa755c53">&#9670;&#160;</a></span>Render()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override? <a class="el" href="struct_vect_sharp_1_1_point.html">Point</a> VectSharp.Markdown.TextFragment.Render </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a>&#160;</td>
          <td class="paramname"><em>graphics</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>deltaY</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Render the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line.">LineFragment</a> on the specified <em>graphics</em>  surface. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">graphics</td><td>The <a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a> surface on which the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html" title="Represents one of the fragments that make up a Line.">LineFragment</a> will be drawn.</td></tr>
    <tr><td class="paramname">deltaY</td><td>Additional translation on the vertical axis.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>If a text element has been drawn, this method should return the bottom-right corner of the drawn text element, otherwise <code>null</code>. This is used to update the <a class="el" href="class_vect_sharp_1_1_markdown_1_1_markdown_context.html#a9ccb263bd6a082339b84f224d4a0ae5c" title="The coordinates of the bottom right corner of the last rendered text element.">MarkdownContext.BottomRight</a> property.</dd></dl>
 </p>

<p>Implements <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html#a99e50709af781f12469d38151e7ca31e">VectSharp.Markdown.LineFragment</a>.</p>

<p class="definition">Definition at line <a class="el" href="_line_8cs_source.html#l00136">136</a> of file <a class="el" href="_line_8cs_source.html">Line.cs</a>.</p>

</div>
</div>
<a id="a8d99db15c3236db87415b613795e9454" name="a8d99db15c3236db87415b613795e9454"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d99db15c3236db87415b613795e9454">&#9670;&#160;</a></span>Translate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override void VectSharp.Markdown.TextFragment.Translate </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>deltaX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>deltaY</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Applies the specified translation to the line fragment. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">deltaX</td><td>The translation in the horizontal direction.</td></tr>
    <tr><td class="paramname">deltaY</td><td>The translation in the vertical direction.</td></tr>
  </table>
  </dd>
</dl>
 </p>

<p>Implements <a class="el" href="class_vect_sharp_1_1_markdown_1_1_line_fragment.html#af448b1db13df8456f4ff31f71f3cac54">VectSharp.Markdown.LineFragment</a>.</p>

<p class="definition">Definition at line <a class="el" href="_line_8cs_source.html#l00111">111</a> of file <a class="el" href="_line_8cs_source.html">Line.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a id="a9a4d9fafcb34874144dc838a489a13e7" name="a9a4d9fafcb34874144dc838a489a13e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a4d9fafcb34874144dc838a489a13e7">&#9670;&#160;</a></span>Colour</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_vect_sharp_1_1_colour.html">Colour</a> VectSharp.Markdown.TextFragment.Colour</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The colour used to draw the text.  </p>

<p class="definition">Definition at line <a class="el" href="_line_8cs_source.html#l00091">91</a> of file <a class="el" href="_line_8cs_source.html">Line.cs</a>.</p>

</div>
</div>
<a id="aa77aa640d8fdcf8ccaaf0661432eb02d" name="aa77aa640d8fdcf8ccaaf0661432eb02d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa77aa640d8fdcf8ccaaf0661432eb02d">&#9670;&#160;</a></span>Font</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vect_sharp_1_1_font.html">Font</a> VectSharp.Markdown.TextFragment.Font</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The font used to draw the text.  </p>

<p class="definition">Definition at line <a class="el" href="_line_8cs_source.html#l00086">86</a> of file <a class="el" href="_line_8cs_source.html">Line.cs</a>.</p>

</div>
</div>
<a id="ad5783729321cfba738f523a4ab5e13d7" name="ad5783729321cfba738f523a4ab5e13d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5783729321cfba738f523a4ab5e13d7">&#9670;&#160;</a></span>Position</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_vect_sharp_1_1_point.html">Point</a> VectSharp.Markdown.TextFragment.Position</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The position of the text, relative to the cursor at the start of the line.  </p>

<p class="definition">Definition at line <a class="el" href="_line_8cs_source.html#l00081">81</a> of file <a class="el" href="_line_8cs_source.html">Line.cs</a>.</p>

</div>
</div>
<a id="a362eff10f72b991de67ff8c47b9f8527" name="a362eff10f72b991de67ff8c47b9f8527"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a362eff10f72b991de67ff8c47b9f8527">&#9670;&#160;</a></span>Text</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string VectSharp.Markdown.TextFragment.Text</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The text contained in the fragment.  </p>

<p class="definition">Definition at line <a class="el" href="_line_8cs_source.html#l00076">76</a> of file <a class="el" href="_line_8cs_source.html">Line.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>VectSharp.Markdown/<a class="el" href="_line_8cs_source.html">Line.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_vect_sharp.html">VectSharp</a></li><li class="navelem"><a class="el" href="namespace_vect_sharp_1_1_markdown.html">Markdown</a></li><li class="navelem"><a class="el" href="class_vect_sharp_1_1_markdown_1_1_text_fragment.html">TextFragment</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
  </ul>
</div>
</body>
</html>
